/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javabeans;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;

/**
 *
 * @author liweijiao
 */
public class ChannelTGroup {

    private String groupname;
    private String groupid;
    private List<Member> groupmembers;
    private List<Plan> groupplans;

     ChannelTGroup(String groupname, Member owner) {
        this.setGroupname(groupname);
        this.groupmembers.add(owner);
    }

    public List<Plan> getGroupplans() {
        return groupplans;
    }

    public void setGroupplans(List<Plan> groupplans) {
        this.groupplans = groupplans;
    }

    

    public ChannelTGroup() {
        groupmembers = new ArrayList<Member>();
    }

   

    public List<Member> getGroupmembers() {
        return groupmembers;
    }

    public void setGroupmembers(List<Member> groupmembers) {
        this.groupmembers = groupmembers;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }
}
